/*
 * HevcSpsParser.h
 *
 *  Created on: 2017年9月9日
 *      Author: terry
 */

#ifndef HEVCSPSPARSER_H_
#define HEVCSPSPARSER_H_

#include "BasicType.h"


class HevcSpsParser
{
public:
	struct vc_params_t
	{
		int width, height;
		int profile, level;
		int nal_length_size;
	};

public:
	HevcSpsParser();
	virtual ~HevcSpsParser();

	static bool parse(const uint8_t* data, int size, vc_params_t& params);

};

#endif /* HEVCSPSPARSER_H_ */
